package com.xx.permission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xx.permission.config.DataScopeIgnore;
import com.xx.permission.entity.SysRole;
import com.xx.permission.entity.result.RoleDataPermission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author aqi
 * @since 2023-05-18
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    @DataScopeIgnore
    List<RoleDataPermission> getRoleDataPermission();

}
